cmake_minimum_required(VERSION 2.8.3)
project(key_board)
if(UNIX)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
endif(UNIX)

find_package(catkin REQUIRED COMPONENTS
  roscpp
  rospy
  std_msgs
  didi_msgs
)

catkin_package(

  #INCLUDE_DIRS include
  LIBRARIES navigation/key_board
  CATKIN_DEPENDS roscpp rospy std_msgs didi_msgs
  DEPENDS system_lib
)

include_directories(include ${catkin_INCLUDE_DIRS} )

add_library(key_board.cpp src/key_board.cpp )

add_executable(key_board_node  src/key_board_node.cpp src/key_board.cpp)

target_link_libraries(key_board_node ${catkin_LIBRARIES})


